package com.rinlink.jbcodec.transform;

import java.nio.ByteBuffer;

public class BytesToInteger extends BytesToNumber<Integer> {

    public BytesToInteger(ByteBuffer byteBuffer, String byteOrder) {
        super(byteBuffer,byteOrder);
    }

    @Override
    public Integer transform() {
        return getByteBuffer().getInt();
    }
}
